package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * sku图片
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-08-24 16:47:36
 */
@Data
@TableName("xy_sku_images")
public class SkuImages implements Serializable {
  private static final long serialVersionUID = 1L;

  /**
   * id
   */
  @TableId(value = "id" ,type = IdType.AUTO)
  private Long id;
  /**
   * sku_id
   */
  private Long skuId;
  /**
   * 图片地址
   */
  private String imgUrl;
  /**
   * 排序
   */
  private Integer imgSort;
  /**
   * 默认图[0 - 不是默认图，1 - 是默认图]
   */
  private Integer defaultImg;

}
